home *** CD-ROM | disk | FTP | other *** search
- Path: gate.net!pslfl2-47
- From: bhutto@gate.net (William Hutto)
- Newsgroups: comp.lang.c
- Subject: Re: how do i...
- Date: 9 Jan 1996 04:01:35 GMT
- Organization: CyberGate, Inc.
- Message-ID: <4cspav$1rdi@news.gate.net>
- References: <4cl4ja$558@news-e2a.gnn.com> <DKvC14.Ft6@ariel.cs.yorku.ca>
- NNTP-Posting-Host: pslfl2-47.gate.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- >In article <4cl4ja$558@news-e2a.gnn.com> MrBurns@gnn.com (Kevin Kalstein)
- writes:
- >>hi all. i wrote an address book that saves addresses to disk
- >>with a .adr extension. i want to create a feature that allows
- >>the user to see the .adr files in the directory. basically
- >>what im looking for is a command that will let me do the dos
- >>equivalent of "dir *.adr". unfortunately i cant find any
- >>commands to do this. im using borland c++ version 3.0.
- >>(note this program is written in C not C++). any help would
- >>be greatly appreciated.
-
- I use the _dos_findfirst() / _dos_findnext() functions passing it a
- wildcard string (*.adr) if I desire and create a dynamic linked list of
- structures that includes the date/time and file attribute information. Then I
- display this information however I choose.
-
- Bill
-
- "Whatcha got on?...Your mind?"
-